<template>
  <div id="app">
    <transition name="fade" mode="out-in">
      <router-view></router-view>
    </transition>
  </div>
</template>

<script>
export default {
  name: 'app',
  components: {}
}
</script>

<style scope="this api replaced by slot-scope in 2.5.0+">
body {
  margin: 0;
  padding: 0;
}
#app {
  top: 0;
  bottom: 0;
  width: 100%;
  position: absolute;
}

.fade-enter-active,
.fade-leave-active {
  transition: all 0.2s ease;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}
</style>
